<!--在职 begain-->
<div class="header">
    <label class="tab"><a href="<?=Report_Urls::index_url()?>">在职</a></label>
    <label class="act"><a href="<?=Report_Urls::dimission_url()?>">离职</a></label>
</div>

<div class="body">
    <div class="t">
        <?php if($data['type']=='season'):?>
        <?=date('Y')?>年第<?=ceil(date('n')/3)?>季度，离职率为<?=$data['base_data']['dimiss_rate']?>%,离职总人数<?=$data['base_data']['dimiss_num']?>，主动离职 <?=$data['base_data']['active_num']?>人，被动离职<?=$data['base_data']['passive_num']?>人
        <a class="more" href="<?=Report_Urls::dimission_view_url()?>" target="_blank">查看更多&gt;&gt;</a>
        <?php else:?>
        <?=date('Y')?>年<?=date('n')?>月，离职率为<?=$data['base_data']['dimiss_rate']?>%,离职总人数<?=$data['base_data']['dimiss_num']?>，主动离职 <?=$data['base_data']['active_num']?>人，被动离职<?=$data['base_data']['passive_num']?>人

        <a class="more" href="<?=Report_Urls::dimission_view_url(0,date('Ym01'),date('Ymd'),'month')?>" target="_blank">查看更多&gt;&gt;</a>
        <?php endif;?>
    </div>
    <div class="type">
        <a class="quarter <?php if($data['type']=='season'):?>now<?php endif?>" href="<?=Report_Urls::dimission_url('season')?>">季度</a>
        <a class="month <?php if($data['type']=='month'):?>now<?php endif?>" href="<?=Report_Urls::dimission_url('month')?>">月份</a>
    </div>
    <div id="container">

    </div>


</div>
<div class="footer">

</div>
<!--在职 end-->
<?php $this->script_block_begin(); ?>
<script type="text/javascript">
    var data_list ='<?=json_encode($data['datalist'])?>';
</script>
<?php $this->script_block_end(); ?>
